<load target="js/contact_admin.js" />
<div class="x_page-header">
	<h1>
		{$lang->contact_management}
		<span cond="$module_info->mid" class="path">&gt; <a href="{getSiteUrl($module_info->domain,'','mid',$module_info->mid)}" target="_blank"|cond="$module=='admin'">{$module_info->mid}</a><block cond="$module_info->is_default=='Y'">({$lang->is_default})</block></span>
		<a href="#about_contact" data-toggle class="x_icon-question-sign">{$lang->help}</a>
	</h1>
</div>
<p class="x_alert x_alert-info" id="about_contact" hidden>{nl2br($lang->about_contact)}</p>
<ul class="x_nav x_nav-tabs" cond="$module_info && $act!='dispContactAdminContent' && $act != 'dispContactAdminDeleteContact'">
	<li cond="$module=='admin'" class="x_active"|cond="$act=='dispContactAdminContent'"><a href="{getUrl('act','dispContactAdminContent','module_srl','')}">{$lang->cmd_contact_list}</a></li>
	<li cond="$module!='admin'" ><a href="{getUrl('act','')}">{$lang->cmd_back}</a></li>
	<li cond="$module_srl" class="x_active"|cond="$act=='dispContactAdminContactInfo'"><a href="{getUrl('act','dispContactAdminContactInfo','type','')}">{$lang->cmd_contact_info}</a></li>
	<li cond="!$module_srl && $act=='dispContactAdminInsertContact'" class="x_active"><a href="{getUrl('act','dispContactAdminInsertContact','type','')}">{$lang->cmd_create_contact}</a></li>
	<li cond="$module_srl" class="x_active"|cond="$act=='dispContactAdminFormComps'"><a href="{getUrl('act','dispContactAdminFormComps','type','')}">{$lang->cmd_form_components}</a></li>
	<li cond="$module_srl" class="x_active"|cond="$act=='dispContactAdminContactAgreement'"><a href="{getUrl('act','dispContactAdminContactAgreement','type','')}">{$lang->cmd_agreement}</a></li>
	<li cond="$module_srl" class="x_active"|cond="$act=='dispContactAdminContactAdditionSetup'"><a href="{getUrl('act','dispContactAdminContactAdditionSetup','type','')}">{$lang->cmd_addition_setup}</a></li>
</ul>